package com.example.shiwu.db.model;


import com.example.shiwu.db.annotation.DbFiled;
import com.example.shiwu.db.annotation.DbPrimaryKey;
import com.example.shiwu.db.annotation.DbTable;

@DbTable("tb_arrange")
public class Arrange {
    //    是不是 变量名
    @DbPrimaryKey(value = "id", isAuto = true)
    @DbFiled("id")
    public Integer id;
    @DbFiled("interval")
    public String interval;//最大间隔距离
    @DbFiled("electrode_distance")
    private String electrodeDistance;//电极距离
    @DbFiled("electrode_num")
    private String electrodeNum;//电极总数
    @DbFiled("device_type")
    public Integer deviceType;//装置形式
    @DbFiled("device_type_val")
    public String deviceTypeVal;//装置形式val
    @DbFiled("device_type_len")
    public Integer deviceTypeLen;//装置形式val
    @DbFiled("dtype")
    public String dtype;//装置形式val

    @DbFiled("shape")
    public String shape;//装置形式val

    @DbFiled("item_id")
    public Integer itemId;//项目id

    @DbFiled("create_time")
    private String createTime;
    @DbFiled("update_time")
    private String updateTime;

    public String getInterval() {
        return interval;
    }

    public void setInterval(String interval) {
        this.interval = interval;
    }

    public String getElectrodeDistance() {
        return electrodeDistance;
    }

    public void setElectrodeDistance(String electrodeDistance) {
        this.electrodeDistance = electrodeDistance;
    }

    public String getElectrodeNum() {
        return electrodeNum;
    }

    public void setElectrodeNum(String electrodeNum) {
        this.electrodeNum = electrodeNum;
    }

    public Integer getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(Integer deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceTypeVal() {
        return deviceTypeVal;
    }

    public void setDeviceTypeVal(String deviceTypeVal) {
        this.deviceTypeVal = deviceTypeVal;
    }

    public Integer getDeviceTypeLen() {
        return deviceTypeLen;
    }

    public String getDtype() {
        return dtype;
    }

    public void setDtype(String dtype) {
        this.dtype = dtype;
    }

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public void setDeviceTypeLen(Integer deviceTypeLen) {
        this.deviceTypeLen = deviceTypeLen;
    }

    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public Arrange() {
    }

    public Arrange(Integer itemId) {
        this.itemId = itemId;
    }
}
